package ATM;

import java.io.Serializable;

public class UserInfo implements Serializable {

    private String username;

    private String password;

    private double account;

    public UserInfo() {

    }

    public UserInfo(String username, String password, double account) {
        this.username = username;
        this.password = password;
        this.account = account;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public double getAccount() {
        return account;
    }

    public void setAccount(double account) {
        this.account = account;
    }

    @Override
    public String toString() {
        return username + "-" + password + "-" + account;
    }
}
